import styles from "@/styles/variables.module.scss";

export default {
  title: {
    textStyle: {
      fontSize: 12,
      color: "#fff",
    },
    left: "center",
    top: 10,
  },
  xAxis: {
    axisLabel: {
      color: styles.whiteColor2,
      fontSize: 8,
    },
    axisLine: {
      show: true,
      lineStyle: {
        color: "rgba(255, 255, 255, .1)",
      },
    },
  },
  yAxis: {
    axisLabel: {
      color: "rgba(255, 255, 255, 0.6)",
      fontSize: 8,
    },
    axisLine: {
      show: true,
      lineStyle: {
        color: "rgba(255, 255, 255, .1)",
      },
    },
    splitLine: {
      lineStyle: {
        color: "rgba(255, 255, 255, .1)",
      },
    },
  },
  tooltip: {
    backgroundColor: "rgba(0, 0, 0, .6)",
    borderWidth: 0,
    textStyle: {
      color: "#fff",
      fontSize: 12,
    },
    formatter: "{b}: {c}个",
  },
  grid: {
    top: 50,
    bottom: 10,
    left: 10,
    right: 10,
    containLabel: true,
  },
  legend: {
    textStyle: {
      color: "#fff",
      fontSize: 9,
    },
  },
};
